home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xmu / converte.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  3.7 KB  |  119 lines

  1. /*
  2.  * $XConsortium: Converters.h,v 1.3 89/10/09 16:25:30 jim Exp $
  3.  *
  4.  * Copyright 1988 by the Massachusetts Institute of Technology
  5.  *
  6.  * Permission to use, copy, modify, and distribute this software and its
  7.  * documentation for any purpose and without fee is hereby granted, provided 
  8.  * that the above copyright notice appear in all copies and that both that 
  9.  * copyright notice and this permission notice appear in supporting 
  10.  * documentation, and that the name of M.I.T. not be used in advertising
  11.  * or publicity pertaining to distribution of the software without specific, 
  12.  * written prior permission. M.I.T. makes no representations about the 
  13.  * suitability of this software for any purpose.  It is provided "as is"
  14.  * without express or implied warranty.
  15.  *
  16.  * The X Window System is a Trademark of MIT.
  17.  *
  18.  * The interfaces described by this header file are for miscellaneous utilities
  19.  * and are not part of the Xlib standard.
  20.  */
  21.  
  22. #ifndef _XMU_STRCONVERT_H_
  23. #define _XMU_STRCONVERT_H_
  24.  
  25. /*
  26.  * Converters - insert in alphabetical order
  27.  */
  28.  
  29. /******************************************************************************
  30.  * XmuCvtFunctionToCallback
  31.  */
  32. extern void XmuCvtFunctionToCallback();
  33.  
  34.  
  35. /******************************************************************************
  36.  * XmuCvtStringToBackingStore
  37.  */
  38. #define XtNbackingStore "backingStore"
  39. #define XtCBackingStore "BackingStore"
  40. #define XtRBackingStore "BackingStore"
  41. #define XtEnotUseful "notUseful"
  42. #define XtEwhenMapped "whenMapped"
  43. #define XtEalways "always"
  44. #define XtEdefault "default"
  45. extern void XmuCvtStringToBackingStore();
  46.  
  47.  
  48. /******************************************************************************
  49.  * XmuCvtStringToCursor
  50.  */
  51. extern void XmuCvtStringToCursor();
  52.  
  53.  
  54. /******************************************************************************
  55.  * XmuCvtStringToJustify
  56.  */
  57. typedef enum _XtJustify { /* Tagged. POHC 90/10/12 */
  58.     XtJustifyLeft,       /* justify text to left side of button   */
  59.     XtJustifyCenter,     /* justify text in center of button      */
  60.     XtJustifyRight       /* justify text to right side of button  */
  61. } XtJustify;
  62. #define XtEleft "left"
  63. #define XtEcenter "center"
  64. #define XtEright "right"
  65. extern void XmuCvtStringToJustify();
  66.  
  67.  
  68. /******************************************************************************
  69.  * XmuCvtStringToLong
  70.  */
  71. #define XtRLong "Long"
  72. extern void XmuCvtStringToLong();
  73.  
  74.  
  75. /******************************************************************************
  76.  * XmuCvtStringToOrientation
  77.  */
  78. typedef enum _XtOrientation {XtorientHorizontal, XtorientVertical} XtOrientation; /* Tagged. POHC 90/10/12 */
  79. extern void XmuCvtStringToOrientation();
  80.  
  81.  
  82. /******************************************************************************
  83.  * XmuCvtStringToBitmap
  84.  */
  85. extern void XmuCvtStringToBitmap();
  86.  
  87.  
  88. /******************************************************************************
  89.  * XmuCvtStringToShapeStyle; is XtTypeConverter (i.e. new style)
  90.  * no conversion arguments, not particularly useful to cache the results.
  91.  */
  92.  
  93. #define XtRShapeStyle "ShapeStyle"
  94. #define XtERectangle "Rectangle"
  95. #define XtEOval "Oval"
  96. #define XtEEllipse "Ellipse"
  97. #define XtERoundedRectangle "RoundedRectangle"
  98.  
  99. #define XmuShapeRectangle 1
  100. #define XmuShapeOval 2
  101. #define XmuShapeEllipse 3
  102. #define XmuShapeRoundedRectangle 4
  103.  
  104. extern Boolean XmuCvtStringToShapeStyle();
  105. extern Boolean XmuReshapeWidget( /*
  106.     Widget w,
  107.     int shape_style,
  108.     int corner_width,
  109.     int corner_height
  110.     */ );
  111.  
  112. /******************************************************************************
  113.  * XmuCvtStringToWidget
  114.  */
  115. extern void XmuCvtStringToWidget();
  116.  
  117.  
  118. #endif /* _XMU_STRCONVERT_H_ */
  119.